function Father() {
    this.name = 'Katrina';
};

Father.prototype.sayHi = function(){
    console.log('Hi');
};

function Son(age) {
    Father.call(this);
    this.age = age;
};

Son.prototype = new Father();

let s1 = new Son(18);

s1.sayHi();   // Hi

